package org.duiduo.tutorialmod.datagen;

import net.minecraft.data.PackOutput;
import net.minecraftforge.common.data.LanguageProvider;
import org.duiduo.tutorialmod.TutorialMod;
import org.duiduo.tutorialmod.block.ModBlocks;
import org.duiduo.tutorialmod.item.ModCreativeModTabs;
import org.duiduo.tutorialmod.item.ModItems;

/**
 * 生成英文语言供应配置
 *
 * @author liangze
 * @date 2024/9/18 10:57
 */
public class UsLanguageProvider extends LanguageProvider {

    public static final String EN_US = "en_us";

    public UsLanguageProvider(PackOutput output, String locale) {
        super(output, TutorialMod.MODID, locale);
    }

    @Override
    protected void addTranslations() {
        add(ModItems.SILVER_INGOT.get(), "silverIngot");
        add(ModItems.RAW_SILVER.get(), "rawSilver");
        add(ModBlocks.SILVER_BLOCK.get(), "silverBlock");
        add(ModBlocks.SILVER_ORE.get(), "silverOre");
        add(ModCreativeModTabs.TUTORIAL_TAB_STRING, "TutorialMod");
    }

}
